package cn.iocoder.yudao.module.handguard.convert.productaccessrecord;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;

import cn.iocoder.yudao.module.handguard.dal.dataobject.productaccess.ProductAccessDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.iocoder.yudao.module.handguard.controller.admin.productaccessrecord.vo.*;
import cn.iocoder.yudao.module.handguard.dal.dataobject.productaccessrecord.ProductAccessRecordDO;

/**
 * 产品准入-产品备注/产品特点记录 Convert
 *
 * @author 芋道源码
 */
@Mapper
public interface ProductAccessRecordConvert {

    ProductAccessRecordConvert INSTANCE = Mappers.getMapper(ProductAccessRecordConvert.class);

    ProductAccessRecordDO convert(ProductAccessRecordCreateReqVO bean);

    ProductAccessRecordDO convertAccess(ProductAccessDO bean);

    ProductAccessRecordDO convert(ProductAccessRecordUpdateReqVO bean);

    ProductAccessRecordRespVO convert(ProductAccessRecordDO bean);

    List<ProductAccessRecordRespVO> convertList(List<ProductAccessRecordDO> list);

    PageResult<ProductAccessRecordRespVO> convertPage(PageResult<ProductAccessRecordDO> page);

    List<ProductAccessRecordExcelVO> convertList02(List<ProductAccessRecordDO> list);

}
